
let str = readline()
let arr = str.split('')
let yuanyin = ['a', 'A', 'e', 'E', 'i', 'I', 'o', 'O', 'u', 'U']
for (let i = 0; i < arr.length; i++) {
  if (yuanyin.includes(arr[i])) {
    arr[i] = arr[i].toLowerCase()
  } else {
    arr[i] = arr[i].toUpperCase()
  }
}
console.log(arr.join(''));
